package com.it.chinamobileai.tool;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.ai.tool.annotation.ToolParam;

import java.math.BigDecimal;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class CommunicationPackageQuery {
    @ToolParam(required = false,description = "月租")
    private BigDecimal monthlyRent;
    @ToolParam(required = false,description = "套餐包含流量")
    private Integer dataVolume;
    @ToolParam(required = false,description = "套餐包含通话时长")
    private Integer callDuration;

//    @ToolParam(required = false,description = "排序方式")
//    private List<Sort> sorts;
//
//    @Data
//    public static class Sort{
//        @ToolParam(required = false,description = "排序的字段,可能是price,duration")
//        private String field;
//        @ToolParam(required = false,description = "是否是升序: true/false")
//        private Boolean isAsc;
//    }
}
